//package com.bwie.controller;
//
//import com.bwie.entity.Order;
//import com.bwie.service.OrdersService;
//import com.bwie.utils.R;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//import org.springframework.ui.Model;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.ResponseBody;
//
///**
// * @author 高洋
// * @Classname OrdersController
// * @Description
// * @Date 2022/6/30 14:32
// */
//@Controller
//@RequestMapping("/order")
//public class OrdersController {
//    @Autowired
//    private OrdersService ordersService;
//
////    @RequestMapping(value = "/insert")
////    @ResponseBody
////    public R orderInsert(@RequestBody Order order){
////
////        return ordersService.insert(order);
////    }
//
////    @RequestMapping("/orderList/{id}")
////    public String orderAdd(Model model , @PathVariable("id") Integer id){
////        R r = ordersService.findList(id);
////        Order order = (Order) r.get("order");
////        model.addAttribute("order",order);
////        return "order_add";
////    }
//}
